<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
    .elegant-aero {
margin-left:auto;
margin-right:auto;
max-width: 500px;
background: #D2E9FF;
padding: 20px 20px 20px 20px ;
font: 12px Arial, Helvetica, sans-serif;
color: #666;
}
.elegant-aero h1 {
font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
padding: 10px 10px 10px 20px;
display: block;
background: #C0E1FF;
border-bottom: 1px solid #B8DDFF;
margin: -20px -20px 15px;
}
.elegant-aero h1>span {
display: block;
font-size: 11px;
}

.elegant-aero label>span {
float: left;
margin-top: 20px;
color: #5E5E5E;
}
.elegant-aero label {
display: block;
margin: 0px 0px 5px;
}
.elegant-aero label>span {
float: left;
width: 30%;
text-align: right;
padding-right: 20px;
margin-top: 10px;
font-weight: bold;
}
.elegant-aero input[type="text"], .elegant-aero textarea, .elegant-aero select[name="ssue_Type"] {
color: #888;
width: 30%;
padding: 0px 0px 0px 5px;
border: 1px solid #C5E2FF;
background: #FBFBFB;
outline: 0;
 -webkit-box-shadow:inset 0px 1px 6px #ECF3F5;
 box-shadow: inset 0px 1px 6px #ECF3F5;
font: 200 12px/25px Arial, Helvetica, sans-serif;
height: 30px;
line-height:15px;
margin: 2px 6px 16px 0px;
}
.elegant-aero textarea{
height:200px;
padding: 20px 0px 0px 5px;
width: 60%;
}
.elegant-aero select {
background: #fbfbfb url('down-arrow.png') no-repeat right;
background: #fbfbfb url('down-arrow.png') no-repeat right;
 appearance:none;
 -webkit-appearance:none;
 -moz-appearance: none;
text-indent: 0.01px;
 text-overflow: '';
width: 23%;
}
.elegant-aero .button{
padding: 10px 30px 10px 30px;
background: #66C1E4;
border: none;
color: #FFF;
 box-shadow: 1px 1px 1px #4C6E91;
 -webkit-box-shadow: 1px 1px 1px #4C6E91;
 -moz-box-shadow: 1px 1px 1px #4C6E91;
text-shadow: 1px 1px 1px #5079A3;


}
.elegant-aero .button:hover{
background: #3EB1DD;
}
</style>

  </head>
  
  <body>
  <div class="elegant-aero ">
    <form action="addissue" method="post" class="STYLE-NAME"
    enctype="multipart/form-data" >
       <h1>新建事务
            <span>请填写以下信息</span>
       </h1>
     <label>
       <span>事务名称 :</span>
             <input id="name" type="text" name="issue.issueName" />
     </label>   

    <label>
       <span>事务类型 :</span>
         <select name="issue.issueType">
								<option value="selectmore">下拉选择事务类型</option>
								<s:iterator value="typeList" id="type1">
									<option
										value="<s:property value="#type1.issuetype" />">
										<s:property value="#type1.issuetype" />
									</option>
								</s:iterator>

						</select>
          </label>
        
     <label>
      <span>事务状态 :</span>
      <s:iterator value="stateList" id="state">
    
      <input type="radio" name="issue.issueState" value="<s:property value="#state.stateName"/>" >
      <s:property value="#state.stateName" />
		</s:iterator>

           </label>
     <label>
         <span>事务描述 :</span>
            <div >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <textarea id="description" name="issue.issueCon" ></textarea></div>
     </label>
          
     <label>
          <span>上传文件:</span>
          <input type="file" name="issuefile" >
     </label>
      <label>
           <span>所属项目 :</span>
             <select name="issue.projectId">
               <option value="selectmore">下拉选择项目</option>
								<s:iterator value="projectList" id="project">
									<option
										value="<s:property value="#project.projectid" />">
										<s:property value="#project.projectName" />
									</option>
								</s:iterator>
              </select>
       </label>
        
       <br>
       <br>
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> 
<input type="submit" class="button" value="提交" />
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> 



</form>
</div>
  </body>
</html>
